package com.tm.seurity.domain;

import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * Created by lichuan on 2022-09-24.
 */
public class Student {


    private String DateStr;

    private Date date;


    public String getDateStr() {
        SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
        return sdf.format(this.date);
    }

    public void setDateStr(String dateStr) {
        DateStr = dateStr;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

}
